#ifndef Endereco_h
#define Endereco_h

#include <stdint.h>
#include "genericv.h"
#include "stub.h"


typedef struct {
  int64_t ref;
  GenericVar id;
} Endereco;



typedef struct {
  Endereco* (*create)();
  FieldEntry* (*getFields)();
  int64_t (*get_ref)(Endereco *this);
  void (*set_ref)(Endereco *this, int64_t novo);
  int64_t (*get_id)(Endereco *this);
  void (*set_id)(Endereco *this, int64_t novo);
} EnderecoInterface;

extern EnderecoInterface EnderecoI;

#endif
